<?php 
/**
 * csbbc licence
 *
 * @copyright  Copyright (c) 2005-2010 csbbc Technologies Inc.  
 * @license   http://www.toggle.cn csbbc License
 */
 
$db['pleasebalance']=array ( 
  'columns' => 
  array (
    'pb_id' => 
    array (
      'type' => 'bigint unsigned',
      'required' => true,
      'pkey' => true,
      'extra' => 'auto_increment',
      'label' => 'ID',
      'width' => 110,
      'hidden' => true,
      'editable' => false,
      'in_list' => false,
    ),
    'status' => 
    array (
      'type' => 
      array (
        'succ' => '结算成功',
        'ready' => '申请中',
      ),
      'default' => 'ready',
      'label' => '申请状态',
      'width' => 75,
      'editable' => false,
      'filtertype' => 'yes',
      'filterdefault' => true,
      'in_list' => true,
      'default_in_list' => true,
    ),
    'store_id' => 
    array (
      'type' => 'table:storemanger',
      'label' => '申请人',
      'width' => 110,
      'filtertype' => 'yes',
      'filterdefault' => true,
      'editable' => false,
      'in_list' => true,
      'default_in_list' => true,
    ),
     'mome' => 
    array (
      'type' => 'varchar(200)',
      'label' => '备注',
      'width' => 200,
      'hidden' => true,
      'editable' => false,
      'in_list' => true,
      'default_in_list' => true,
    ),
    'people' => 
    array (
      'type' => 'varchar(50)',
      'label' => '操作人',
      'width' => 200,
      'filtertype' => 'yes',
      'filterdefault' => true,
      'editable' => false,
      'in_list' => true,
      'default_in_list' => true,
    ),
      't_begin' => 
    array (
      'type' => 'time',
      'label' => '申请结算时间',
      'width' => 110,
      'editable' => false,
      'filtertype' => 'time',
      'filterdefault' => true,
      'in_list' => true,
       'default_in_list' => true,
    ),
    't_payed' => 
    array (
      'type' => 'time',
      'label' => '结算完成时间',
      'width' => 110,
      'filtertype' => 'yes',
      'filterdefault' => true,
      'editable' => false,
      'in_list' => true,
       'default_in_list' => true,
    ),
    'cur_money' => 
    array (
      'type' => 'money',
      'default' => '0',
      'required' => true,
      'label' => '申请结算金额',
      'width' => 75,
      'filtertype' => 'yes',
      'filterdefault' => true,
      'editable' => false,
      'in_list' => true,
      'default_in_list' => true,
    ),
    'bigstr' => 
    array (
      'type' => 'longtext',
      'searchtype' => 'has',
      'label' => '包含结算单据',
       'filtertype' => 'yes',
      'filterdefault' => true,
      'editable' => false,
       'in_list' => true,
      'default_in_list' => true,
    ),
  ),
  'engine' => 'innodb',
  'version' => '$Rev: 4694 $',
);
